//
//  PaddingBoot.swift
//  SwiftUIWidgetDemo
//
//  Created by alanzhangg on 2023/7/10.
//

import SwiftUI

struct PaddingBoot: View {
    var body: some View {
        Text("Hello, World!")
            .background(.white)
            .padding()
            .background(
                Color.white
                    .clipShape(RoundedRectangle(cornerRadius: 10))
                    .shadow(color: .black.opacity(0.3), radius: 10, x: 0.0, y: 10)
                    
            )
            
    }
}

#Preview {
    PaddingBoot()
}
